projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2febc6d
)
(Fmake_indirect_buffer): Check that NAME is a string.
author
Andreas Schwab
<schwab@suse.de>
Mon, 12 Apr 2004 12:13:03 +0000
(12:13 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Mon, 12 Apr 2004 12:13:03 +0000
(12:13 +0000)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index d62e186fda8105bc7edcf5147cbf45aa33fdd3b0..403baa817d3165b4875b744cbc1a00ca824c8e10 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-532,6
+532,7
@@
CLONE nil means the indirect buffer's state is reset to default values. */)
Lisp_Object buf;
struct buffer *b;
+ CHECK_STRING (name);
buf = Fget_buffer (name);
if (!NILP (buf))
error ("Buffer name `%s' is in use", SDATA (name));